package com.yz.house.login.pojos;

public class User {

  private int userId;
  private String phone;
  private String password;
  private String userType;
  private int houseResouce;
  private int renterMsg;

  public User(int userId, String phone, String password, String userType, int houseResouce, int renterMsg) {
    this.userId = userId;
    this.phone = phone;
    this.password = password;
    this.userType = userType;
    this.houseResouce = houseResouce;
    this.renterMsg = renterMsg;
  }

  public User() {
    super();
  }

  public int getUserId() {
    return userId;
  }

  public void setUserId(int userId) {
    this.userId = userId;
  }

  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }

  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }

  public String getUserType() {
    return userType;
  }

  public void setUserType(String userType) {
    this.userType = userType;
  }

  public int getHouseResouce() {
    return houseResouce;
  }

  public void setHouseResouce(int houseResouce) {
    this.houseResouce = houseResouce;
  }

  public int getRenterMsg() {
    return renterMsg;
  }

  public void setRenterMsg(int renterMsg) {
    this.renterMsg = renterMsg;
  }

  @Override
  public String toString() {
    return "User{" +
            "userId=" + userId +
            ", phone='" + phone + '\'' +
            ", password='" + password + '\'' +
            ", userType='" + userType + '\'' +
            ", houseResouce=" + houseResouce +
            ", renterMsg=" + renterMsg +
            '}';
  }
}
